<@override name="title">会员列表</@override>
<@override name="viewbody">
<div class="row">
    <div class="col-md-12">

        <h3 class="page-title">
            会员中心
            <small>会员列表</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">

            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}/customer/index">首页</a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">会员中心</a>
            </li>
        </ul>

    </div>
</div>

<div class="row">
    <div class="col-md-12">
        <div class="portlet">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-users"></i> 会员列表
                </div>
            </div>
            <div class="portlet-body">
                <div class="table-toolbar">
                    <div class="btn-group">
                        <a id="member_add_line" class="btn default green-stripe" href="${ctx}/customer/member/create">
                            开通会员 <i class="fa fa-plus"></i>
                        </a>
                    </div>

                </div>
                <div class="table-container" id="data-table">
                    <table class="table table-striped table-bordered table-hover table-condensed" id="datatable_members">
                        <thead>
                        <tr role="row" class="heading">
                            <th width="1%">
                                <input type="checkbox" class="group-checkable">
                            </th>
                            <th width="3%">
                                序号
                            </th>
                            <th width="1%">
                                ID
                            </th>
                            <th width="15%">
                                姓名
                            </th>
                            <th width="8%">
                                卡号
                            </th>
                            <th width="10%">
                                身份证
                            </th>
                            <th width="8%">
                                手机号码
                            </th>
                            <th width="5%">
                                性别
                            </th>
                            <th width="5%">
                                国籍
                            </th>
                            <th width="5%">
                                邮编
                            </th>
                            <th width="10%">
                                邮寄地址
                            </th>
                            <th width="8%">
                                操作
                            </th>
                        </tr>
                        <tr role="row" class="filter">
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>
                                <input type="text" class="form-control form-filter input-sm"  name="member.name" placeholder="姓名">
                            </td>
                            <td>
                                <input type="text" class="form-control form-filter input-sm"  name="member.card_no" placeholder="卡号">
                            </td>
                            <td>
                                <input type="text" class="form-control form-filter input-sm" name="member.id_card" placeholder="身份证">
                            </td>
                            <td>
                                <input type="text" class="form-control form-filter input-sm" name="member.phone" placeholder="手机号码">
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>&nbsp;</td>
                            <td>
                                <div class="margin-bottom-5">
                                    <button class="btn btn-sm yellow filter-submit margin-bottom"><i class="fa fa-search"></i> 检索</button>
                                    <button class="btn btn-sm red filter-cancel"><i class="fa fa-times"></i> 重置</button>
                                </div>
                            </td>
                        </tr>
                        </thead>
                        <tbody>

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<script id="action_template" type="text/x-handlers-template">
    <a href="#" class="btn default purple-stripe" data-hook="ticket" data-member="{{id}}" title="小票积分">
        <i class="fa fa-building-o"></i>
    </a>
    <a href="${ctx}/customer/integral/{{id}}" class="btn default purple-stripe" title="积分流水">
        <i class="fa fa-list-ul"></i>
    </a>
</script>


<div class="hide" id="modal_template">
    <div class="form-body">
        <div class="form-group">
            <label class="col-md-3 control-label text-right">小票号：</label>
            <div class="col-md-9">
                <input type="text" class="form-control input-inline input-medium bootbox-ticket-input" name="ticketNo" placeholder="小票号">
            </div>
        </div>
    </div>
    <div class="form-body">
        <div class="form-group">
            <label class="col-md-3 control-label text-right">积分：</label>
            <div class="col-md-9">
                <input type="text" class="form-control input-inline input-medium bootbox-ticket-input" name="integral" placeholder="积分">
            </div>
        </div>
    </div>
</div>
</@override>


<@override name="viewmodule">member_index</@override>
<@extends name="../_basic/service.ftl"></@extends>